html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.hc-modal-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, .8);
    position: absolute;
    top: 0;
    left: 0;
}

.hc-modal-window {
    /* width: 400px;
    height: 200px; */
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -200px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(255, 255, 255, .6);
}

.hc-modal-window .modal-title {
    box-sizing: border-box;
    margin: 0;
    padding: 0 15px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #efefef;
    font-size: 16px;
}


/* 模态框关闭 */

.hc-modal-window .modal-close {
    position: absolute;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #666;
    right: 10px;
    top: 10px;
    cursor: pointer;
    background-color: #efefef;
    border-radius: 50%;
    font-size: 12px;
}

.hc-modal-window .modal-close:hover {
    color: #998800;
    background-color: #ffff11;
}


/* 模态框主体部分 */

.hc-modal-window>.modal-body {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    font-size: 16px;
}


/* 按钮 */

.hc-modal-window .hc-modal-btn {
    height: 40px;
    display: flex;
    justify-content: flex-end;
}

.hc-modal-window .hc-modal-btn>button {
    margin: 5px;
}